package com.example.demo.utils.treeUtil;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 构建树形结构接口
 *
 * @author Liubw
 * @since 2024-11-14
 */
@Service
public interface TreeUtilService {
    List<TreeBo> list2Tree(List list, TransTreeEntity trans) throws Exception;

    List<TreeBo> polymerizeTree(List pList, List childList, TransTreeEntity trans) throws Exception;
}
